<?php
namespace Home\Controller;
use Think\Controller;
use Think\Verify;//这里声明了,下面使用时就可以直接new
class IndexController extends Controller {
    public function index(){
        echo "w";
        $users = M('stu')->find();
        //var_dump($users);
        $this->assign('users',$users);
        $this->display();
    }
    public function login()
    {
    	//echo "login";
    	//$Verify = new \Think\Verify();
    	$Verify = new Verify();
		$Verify->entry();
    }
}